package com.youlin.entities;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * 单位登录角色表
 * @author ${author}
 * @since 2020-06-01
 */
@NoArgsConstructor
@Data
@Accessors(chain=true)
public class BygRole implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
    @ApiModelProperty(value = "创建时间")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名称")
    private String name;

    /**
     * 角色描述
     */
    @JsonIgnore
    @ApiModelProperty(hidden = true)
    private String remarks;

}
